//
var TN_Widget = function() {
return {
//Options
newWindow : true,
linkText : "view
tickets",
tixUrl : "http://www.ticketnetwork.com/tix/",
trackingParams : "",
custLink : true,
//depricated
kbid : "",
//Overwrittable functions
trackingLink :"",
CreateCustomUrl : function(row) {
return this.tixUrl + row[7] + "-tickets-"+ row[6] + ".aspx";
},
CreateEventRow : function(row, isAlt) {
return "
" +
row[0] +" | " +
row[1] +" " +
row[2] +" | " +
row[3] +" " +
row[4] + " " +
row[5] + " | "+ this.linkText+ " |
";
},
AddCss: function(cssUrl) {
var fileref=document.createElement("link");
fileref.setAttribute("rel", "stylesheet");
fileref.setAttribute("type", "text/css");
fileref.setAttribute("href", cssUrl);
document.getElementsByTagName("head")[0].appendChild(fileref);
},
CreateTable : function(eventData,kywrds,url) {
if(typeof(TN_SetWidgetOptions) == "function")
TN_SetWidgetOptions();
//for backwards compatability
if(this.kbid != "")
this.trackingParams = "?img=249&kbid="+this.kbid;
var newTable = [];
for(var cntr = 0; cntr < eventData.length; cntr++)
newTable.push(this.CreateEventRow(eventData[cntr], cntr % 2 == 1));
var objToAddTo;
if(objToAddTo = document.getElementById("tn_results_container")) {
objToAddTo.innerHTML = '' + newTable.join('') + '
';
} else
document.write('' + newTable.join('') + '
');
if(eventData.length >= 100 && kywrds != undefined) {
if(objToAddTo = document.getElementById("tn_results_container")) {
objToAddTo.innerHTML += '';
} else {
document.write("");
}
}
if(eventData.length > 0) {
document.getElementById("previewNote").style.display = "none";
}
}
};
}();
//BPW-TNSERV-04A
TN_Widget.CreateTable([['Diana Ross','Cadence Bank Amphitheatre at Chastain Park','Atlanta, GA','Friday','5/10/2024','8:00 PM','6330566','Diana-Ross-5-10-2024'],['Orville Peck','Cadence Bank Amphitheatre at Chastain Park','Atlanta, GA','Saturday','6/1/2024','7:00 PM','6355650','Orville-Peck-6-1-2024'],['Pixies & Modest Mouse','Cadence Bank Amphitheatre at Chastain Park','Atlanta, GA','Tuesday','6/4/2024','7:30 PM','6227067','Pixies---Modest-Mouse-6-4-2024'],['Anthony Hamilton','Cadence Bank Amphitheatre at Chastain Park','Atlanta, GA','Sunday','6/16/2024','7:00 PM','6243590','Anthony-Hamilton-6-16-2024'],['Southern Soul Blues Celebration: King George, Pokey Bear, Tucka & J-WONN','Cadence Bank Amphitheatre at Chastain Park','Atlanta, GA','Saturday','6/29/2024','7:00 PM','6057504','Southern-Soul-Blues-Celebration--King-George--Pokey-Bear--Tucka---J-WONN-6-29-2024'],['Sarah McLachlan & Feist','Cadence Bank Amphitheatre at Chastain Park','Atlanta, GA','Sunday','6/30/2024','7:30 PM','6147566','Sarah-McLachlan---Feist-6-30-2024'],['O.A.R. & Fitz and The Tantrums','Cadence Bank Amphitheatre at Chastain Park','Atlanta, GA','Wednesday','7/31/2024','6:55 PM','6083943','O-A-R----Fitz-and-The-Tantrums-7-31-2024'],['Lindsey Stirling','Cadence Bank Amphitheatre at Chastain Park','Atlanta, GA','Monday','8/5/2024','7:00 PM','6327923','Lindsey-Stirling-8-5-2024'],['Slash, ZZ Ward & Robert Randolph','Cadence Bank Amphitheatre at Chastain Park','Atlanta, GA','Thursday','8/8/2024','6:30 PM','6316870','Slash--ZZ-Ward---Robert-Randolph-8-8-2024'],['Tate McRae','Cadence Bank Amphitheatre at Chastain Park','Atlanta, GA','Saturday','8/17/2024','8:00 PM','6062339','Tate-McRae-8-17-2024'],['Beres Hammond','Cadence Bank Amphitheatre at Chastain Park','Atlanta, GA','Sunday','8/18/2024','6:30 PM','6410338','Beres-Hammond-8-18-2024'],['Wallows','Cadence Bank Amphitheatre at Chastain Park','Atlanta, GA','Monday','8/19/2024','7:30 PM','6314374','Wallows-8-19-2024'],['Blackberry Smoke','Cadence Bank Amphitheatre at Chastain Park','Atlanta, GA','Friday','8/23/2024','8:00 PM','6381644','Blackberry-Smoke-8-23-2024'],['The Roots','Cadence Bank Amphitheatre at Chastain Park','Atlanta, GA','Thursday','8/29/2024','8:00 PM','6357794','The-Roots-8-29-2024'],['Crowded House','Cadence Bank Amphitheatre at Chastain Park','Atlanta, GA','Friday','8/30/2024','7:00 PM','6377052','Crowded-House-8-30-2024'],['Australian Pink Floyd Show','Cadence Bank Amphitheatre at Chastain Park','Atlanta, GA','Saturday','8/31/2024','8:00 PM','6240904','Australian-Pink-Floyd-Show-8-31-2024'],['Bush, Jerry Cantrell & Candlebox','Cadence Bank Amphitheatre at Chastain Park','Atlanta, GA','Sunday','9/1/2024','6:00 PM','6215201','Bush--Jerry-Cantrell---Candlebox-9-1-2024'],['Kaleo','Cadence Bank Amphitheatre at Chastain Park','Atlanta, GA','Friday','9/20/2024','8:00 PM','6412182','Kaleo-9-20-2024'],['Conan Gray','Cadence Bank Amphitheatre at Chastain Park','Atlanta, GA','Friday','10/4/2024','7:30 PM','6303244','Conan-Gray-10-4-2024'],['Ray Lamontagne & Gregory Alan Isakov','Cadence Bank Amphitheatre at Chastain Park','Atlanta, GA','Friday','10/11/2024','7:00 PM','6389711','Ray-Lamontagne---Gregory-Alan-Isakov-10-11-2024'],['Vampire Weekend','Cadence Bank Amphitheatre at Chastain Park','Atlanta, GA','Saturday','10/12/2024','7:00 PM','6270243','Vampire-Weekend-10-12-2024']],'Chastain Park Amphitheatre','http://www.ticketnetwork.com/ticket/Chastain-Park-Amphitheatre-events.aspx');